<div id="decView"></div>
<div class="layui-card-header"><span class="def-fc left-split"><i class="fa fa-address-card-o"></i>退税主单</span></div>
<div class="layui-card-body">
    <div id="drawbackView"></div>
</div>
<div class="layui-card-header"><span class="def-fc left-split"><i class="fa fa-file-text"></i>附件资料</span></div>
<div class="layui-card-body">
    <a href="javascript:" class="file-size" doc-id="" show-file="drawback" edit="false"></a>
</div>
<div class="layui-card-header"><span class="def-fc left-split"><i class="fa fa-list"></i>采购合同</span></div>
<div class="layui-card-body">
    <table class="layui-hide" id="purchase-contract-list" lay-filter="purchase-contract-list"></table>
</div>
<script type="text/html" id="statusTemp">
    <a href="javascript:" class="{{d.statusId}}" lay-event="statusOperation">{{d.statusDesc}}</a>
</script>
<script type="text/html" id="drawbackViewTemp">
    <div class="layui-row">
        <div class="layui-col-md3"><label class="fkey">系统单号：</label><label class="fval">{{d.docNo}}</label></div>
        <div class="layui-col-md3"><label class="fkey">申请时间：</label><label class="fval">{{removeNull(d.dateCreated)}}</label></div>
        <div class="layui-col-md3"><label class="fkey">要求付款时间：</label><label class="fval">{{removeNull(d.claimPaymentDate)}}</label></div>
        <div class="layui-col-md3"><label class="fkey">实际付款时间：</label><label class="fval">{{removeNull(d.actualPaymentDate)}}</label></div>
    </div>
    <div class="layui-row">
        <div class="layui-col-md3"><label class="fkey">客户名称：</label><label class="fval">{{d.customerName}}</label></div>
        <div class="layui-col-md3"><label class="fkey">收款方：</label><label class="fval">{{removeNull(d.payeeName)}}</label></div>
        <div class="layui-col-md3"><label class="fkey">收款银行：</label><label class="fval">{{removeNull(d.payeeBank)}}</label></div>
        <div class="layui-col-md3"><label class="fkey">收款账号：</label><label class="fval">{{removeNull(d.payeeBankNo)}}</label></div>
    </div>
    <div class="layui-row">
        <div class="layui-col-md3"><label class="fkey">付款金额：</label><label class="fval">{{formatCurrency(d.accountValue)}}</label></div>
        <div class="layui-col-md3"><label class="fkey">退税比例：</label><label class="fval">{{removeNull(d.billie)}}%</label></div>
        <div class="layui-col-md3"><label class="fkey">付款主体：</label><label class="fval">{{removeNull(d.subjectName)}}</label></div>
        <div class="layui-col-md3"><label class="fkey">付款银行：</label><label class="fval">{{removeNull(d.subjectBank)}}
        {{# if(isNotEmpty(removeNull(d.subjectBankNo))){ }} ({{removeNull(d.subjectBankNo)}}){{#}}}
        </label></div>
    </div>
    <div class="layui-row">
        <div class="layui-col-md12"><label class="fkey">备注：</label><label class="fval">{{removeNull(d.memo)}}</label></div>
    </div>
</script>